Calcium oxalate is a mineral that occurs naturally in many foods, including fruits and vegetables. It is an ionic compound formed by the combination of calcium (Ca) and oxalic acid (C2H2O4). Calcium oxalate crystals are often found in urine and can form kidney stones when present in high concentrations. In some individuals, excessive consumption of foods rich in calcium oxalate may contribute to the formation of these painful deposits.